import request from "@/utils/request";
import {BaseResponse} from "@/api/types/baseResponse";
import OrderResponse from "@/api/types/order/OrderResponse";

// 根据日期查询所有订单
export async function getMealOrderstatic(date: string) {
    return await request<BaseResponse<OrderResponse[]>, BaseResponse<OrderResponse[]>>({
        url: "/meal/orderstatic",
        method: "GET",
        params: {orderdate: date}
    })
}


